package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.entity.NursingPlan;
import com.zzyl.entity.NursingProjectPlan;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingPlanMapper {
    List<NursingPlanVo> getAllNursingPlan();

    void addNursingPlan(NursingPlan nursingPlan);

    void addNursingProjectPlan(NursingProjectPlan nursingProjectPlan);

    Page<NursingPlan> selectByPage(String name, Integer status);

    NursingPlanVo getNursingPlanById(Long id);

    List<NursingProjectPlan> getNursingProjectPlanByPlanId(Long id);

    void deleteNursingPlan(Long id);

    void deleteNursingProjectPlan(Long id);

    void modifyNursingPlanStatus(Long id, Integer status);

    void modifyNursingPlan(NursingPlan nursingPlan);
}
